<textarea name="{$name}" rwos="5" id="{$control_id}_summernote" class="form-control">
    {$submitted_value|default=''}
</textarea>
<link rel="stylesheet" type="text/css" href="__STATIC__/libs/summernote/summernote.css">
<style type="text/css" media="screen">
    .note-editor .modal-body .form-group {
        margin: 0;
    }
</style>
<script type="text/javascript" src="__STATIC__/libs/summernote/summernote.min.js" charset="utf-8"></script>
<script type="text/javascript">
    $(function(){
        $('#{$control_id}_summernote').summernote({
            height: 300,
        });
    });
</script>